package com.evosoft.service;




public class ServiceFactory {

	private static ServiceFactory instance = null;
	
	
	private ServiceFactory(){
    }
	
	public synchronized static ServiceFactory getInstance(){
        if( instance == null ) {
            instance = new ServiceFactory();
        }
        
        return instance;
    }
	
     public EmpresaService getEmpresaService() {
        return  EmpresaService.getInstance();
    }
	
     public PersonaService getPersonaService() {
        return PersonaService.getInstance();
    }

    public RoleService getRolService() {
        return RoleService.getInstance();
    }

	
	
}
